<template>
  <v-card-subtitle class="text-center py-1 mt-3 main-color" @click="$emit('onLoadMore')" v-if="!loading">加载更多</v-card-subtitle>
  <v-progress-circular v-else
                       class="d-block py-1 mt-3 mx-auto"
                       indeterminate
                       color="primary"
                       size="30"
  ></v-progress-circular>
</template>

<script>
export default {
  name: "LoadMore",
  props:['loading']
}
</script>

<style scoped>

</style>
